package cc.mrbird.febs.system.service;

import cc.mrbird.febs.common.domain.QueryRequest;
import cc.mrbird.febs.system.domain.THouse;
import cc.mrbird.febs.system.vo.THouseVO;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author dtwei
 */
public interface ITHouseService extends IService<THouse> {

    IPage<THouseVO> findHouses(THouse tHouse, String areaName, QueryRequest queryRequest);

    void createHouse(THouse tHouse) throws Exception;

    void deleteHouses(String[] ids) throws Exception;

    void updateHouse(THouse tHouse) throws Exception;

    List<THouse> findAllHouseCodes();
}
